package com.cimr.comm.util;


import cn.hutool.crypto.digest.DigestUtil;

/**
 * Created by liqi on 2018/1/26.
 * liqiwork@qq.com
 */
public class PasswordUtil {
    public static String encrypt(String username, String password) {
        password = DigestUtil.md5Hex(username.toLowerCase()+"#"+password);
        return password;
    }
}
